﻿namespace Sage.WindowsHotKey.Models
{
    /// <summary>
    /// 表示单个热键的详细信息
    /// </summary>
    public sealed class HotKeyData
    {
        /// <summary>
        /// 热键的唯一名称
        /// </summary>
        public required string Name { get; init; }

        /// <summary>
        /// 热键组合
        /// </summary>
        public required Keys KeyData { get; init; }

        /// <summary>
        /// 热键触发时执行的回调
        /// </summary>
        public required Action Callback { get; init; }

        /// <summary>
        /// 热键的唯一标识符
        /// </summary>
        public int Id { get; init; }
    }
}
